//
//  Car.h
//  OCDay7homework
//
//  Created by dllo on 16/5/30.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Car : NSObject
@property (nonatomic,retain) NSString *name;
@property (nonatomic,retain) NSString *brand;
@property (nonatomic,assign) NSInteger price;

-(instancetype)initWithName:(NSString *)name withBrand:(NSString *)brand withPrice:(NSInteger)price;

+(instancetype)carWithName:(NSString *)name withBrand:(NSString *)brand withPrice:(NSInteger)price;;

@end
